package com.bosch.in.rtp1.ept.manager;

import java.sql.SQLException;
import java.util.List;

import com.bosch.in.rtp1.ept.model.dto.FXFactor;
import com.bosch.in.rtp1.ept.model.technical.Condition4FxFactor;

/**
 * Business Delegate interface to define contract of service which is used to manipulate data
 * on FXFactor table
 * @author LIV1HC
 *
 */
public interface FXFactorManager {
	
	/**
	 * Get all FXFactor satisfy condition4FxFactor
	 * @return list of FXFactor object
	 * @throws SQLException 
	 */
	List<FXFactor> getFXFactors(Condition4FxFactor condition4FxFactor) throws SQLException ;
	
	/**
	 * update batch of FXFactor list 
	 * @param  FXFactor
	 * @return true if successfully updated
	 * @throws SQLException 
	 */
	boolean updateFXFactors(FXFactor fxFactor) throws SQLException ;
	
	/**
	 * insert new FXFactor
	 * @param  FXFactor
	 * @return true if successfully updated
	 * @throws SQLException 
	 */
	boolean insertFXFactors(FXFactor fxFactor) throws SQLException ;
	
	/**
	 * update batch of FXFactor list 
	 * @param  FXFactor
	 * @return true if successfully updated
	 * @throws SQLException 
	 */
	boolean updateFXFactors(List<FXFactor> fxFactor) throws SQLException ;
}
